<?php

class Adept_Template_Modificator_Abstract extends Adept_Template_Expression_Abstract
{
    
    /**
     * @var Adept_Template_Expression_Abstract
     */
    protected $base;
    protected $parameters = array();
    /**
     * @var Adept_Template_ModificatorInfo
     */
    protected $info;
    
    public function makeExpression()
    {
        
    }
    
    public function isConst() 
    {
    	return false;
    }	
    
    public function getBase() 
    {
        return $this->base;
    }
    
    public function setBase($base) 
    {
        $this->base = $base;
    }
    
    public function getParameters() 
    {
        return $this->parameters;
    }
    
    public function setParameters($parameters) 
    {
        $this->parameters = $parameters;
    }
    
    public function addParameter($parameter) 
    {
        $this->parameters[] = $parameter;	
    }	
    
    public function getParameter($index) 
    {
        return isset($this->parameters[$index]) ? $this->parameters[$index] : null;
    }
    
    public function setParameter($index, $parameter) 
    {
        $this->parameters[$index] = $parameter;
    }
    
    public function getInfo() 
    {
        return $this->info;
    }
    
    public function setInfo($info) 
    {
        $this->info = $info;
    }
}
